#ifndef RSSGLOBALS_H
#define RSSGLOBALS_H

#define CNFNAME "qrssconf.cnf"

#define ITEMSEPARATOR "__;__"
#define ITEMSEPARATORLENGTH 5

#define CHANNELSEPARATOR "__;;__"
#define CHANNELSEPARATORLENGTH 6;
#define RSSCNFEND "__;;;__"

enum ItemState
{
	eIdle = 0,
	eNew,
	eUnreaded,
	eReaded
};

enum QRssFType
{
	_eChannel = 0,
	_eFeed
};


static QString _dateFormat = "d MMM yyyy H:m:s";
static QString _leafItem = "item";
static QString _leafDate = "pubDate";
static QString _leafTitle = "title";
static QString _leafLink = "link";
static QString _leafDescription = "description";

//move to the different file
#ifdef WIN32

#define __LOG_FNAME__ __FUNCSIG__;

#else

#define __LOG_FNAME__ __PRETTY_FUNCTION__;

#endif

#endif //RSSGLOBALS_H
